package com.rzico.scenic.entity;


import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <pre>
 *   景区分类导航栏
 * </pre>
 * @author doucent xz
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "sys_area")
public class Area {
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "区名称" )
    protected String name;

    @ApiModelProperty(value = "地区编码" )
    protected String areaCode;

    @ApiModelProperty(value = "区全称" )
    protected String fullName;

    @ApiModelProperty(value = "父ID" )
    protected String parent;

//    @ApiModelProperty(value = "父ID" )
//    protected String dataSort;

    //protected String treePath;

    @JsonIgnore
    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @JsonIgnore
    @ApiModelProperty(value = "创建人")
    protected String create_by;

    @JsonIgnore
    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @JsonIgnore
    @ApiModelProperty(value = "修改人")
    protected String modifyBy;
}
